package org.xiaojl.sys.entity;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.annotations.TableName;
import org.xiaojl.common.base.BaseEntity;

/**
 * <p>
 * 用户角色
 * </p>
 *
 * @author xiaojl
 * @since 2017-08-18
 */
@TableName("sys_user_role")
public class SysUserRole extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
	private Long userId;
    /**
     * 角色id
     */
	private Long roleId;

	@Override
	public Wrapper<SysUserRole> bindingQueryWrapper() {
		Wrapper<SysUserRole> wrapper = new EntityWrapper<SysUserRole>();
		return wrapper;
	}


	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

}
